package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 代码生成业务表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Gen_table implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "table_id", type = IdType.AUTO)
    private Long table_id;

    /**
     * 表名称
     */
    private String table_name;

    /**
     * 表描述
     */
    private String table_comment;

    /**
     * 关联子表的表名
     */
    private String sub_table_name;

    /**
     * 子表关联的外键名
     */
    private String sub_table_fk_name;

    /**
     * 实体类名称
     */
    private String class_name;

    /**
     * 使用的模板（crud单表操作 tree树表操作）
     */
    private String tpl_category;

    /**
     * 生成包路径
     */
    private String package_name;

    /**
     * 生成模块名
     */
    private String module_name;

    /**
     * 生成业务名
     */
    private String business_name;

    /**
     * 生成功能名
     */
    private String function_name;

    /**
     * 生成功能作者
     */
    private String function_author;

    /**
     * 生成代码方式（0zip压缩包 1自定义路径）
     */
    private String gen_type;

    /**
     * 生成路径（不填默认项目路径）
     */
    private String gen_path;

    /**
     * 其它生成选项
     */
    private String options;

    /**
     * 创建者
     */
    private String create_by;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 更新者
     */
    private String update_by;

    /**
     * 更新时间
     */
    private Date update_time;

    /**
     * 备注
     */
    private String remark;


    public Long getTable_id() {
        return table_id;
    }

    public void setTable_id(Long table_id) {
        this.table_id = table_id;
    }

    public String getTable_name() {
        return table_name;
    }

    public void setTable_name(String table_name) {
        this.table_name = table_name;
    }

    public String getTable_comment() {
        return table_comment;
    }

    public void setTable_comment(String table_comment) {
        this.table_comment = table_comment;
    }

    public String getSub_table_name() {
        return sub_table_name;
    }

    public void setSub_table_name(String sub_table_name) {
        this.sub_table_name = sub_table_name;
    }

    public String getSub_table_fk_name() {
        return sub_table_fk_name;
    }

    public void setSub_table_fk_name(String sub_table_fk_name) {
        this.sub_table_fk_name = sub_table_fk_name;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getTpl_category() {
        return tpl_category;
    }

    public void setTpl_category(String tpl_category) {
        this.tpl_category = tpl_category;
    }

    public String getPackage_name() {
        return package_name;
    }

    public void setPackage_name(String package_name) {
        this.package_name = package_name;
    }

    public String getModule_name() {
        return module_name;
    }

    public void setModule_name(String module_name) {
        this.module_name = module_name;
    }

    public String getBusiness_name() {
        return business_name;
    }

    public void setBusiness_name(String business_name) {
        this.business_name = business_name;
    }

    public String getFunction_name() {
        return function_name;
    }

    public void setFunction_name(String function_name) {
        this.function_name = function_name;
    }

    public String getFunction_author() {
        return function_author;
    }

    public void setFunction_author(String function_author) {
        this.function_author = function_author;
    }

    public String getGen_type() {
        return gen_type;
    }

    public void setGen_type(String gen_type) {
        this.gen_type = gen_type;
    }

    public String getGen_path() {
        return gen_path;
    }

    public void setGen_path(String gen_path) {
        this.gen_path = gen_path;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Gen_table{" +
        "table_id=" + table_id +
        ", table_name=" + table_name +
        ", table_comment=" + table_comment +
        ", sub_table_name=" + sub_table_name +
        ", sub_table_fk_name=" + sub_table_fk_name +
        ", class_name=" + class_name +
        ", tpl_category=" + tpl_category +
        ", package_name=" + package_name +
        ", module_name=" + module_name +
        ", business_name=" + business_name +
        ", function_name=" + function_name +
        ", function_author=" + function_author +
        ", gen_type=" + gen_type +
        ", gen_path=" + gen_path +
        ", options=" + options +
        ", create_by=" + create_by +
        ", create_time=" + create_time +
        ", update_by=" + update_by +
        ", update_time=" + update_time +
        ", remark=" + remark +
        "}";
    }
}
